﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Comment.aspx.cs" Inherits="WinnerCMS.WebUI.Admin.Common.Comment"
    EnableViewState="true" %>
<%@ Register Src="../UC_AjaxLoading.ascx" TagName="UC_AjaxLoading" TagPrefix="uc1" %>
<!doctype html>
<html>
<head id="Head1" runat="server">
    <title>评论管理</title>
    <meta http-equiv="Pragma" content="No-cach" />
    <meta charset="utf-8" />
    <%: Styles.Render("~/Content/Bootstrap/css") %>
    <%: Scripts.Render("~/Scripts/AdminBase") %>
    <style type="text/css">
        .NR
        {
            table-layout: fixed;
            word-break: break-all;
            word-wrap: break-word;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdateProgress ID="UpdateProgress1" runat="server">
        <ProgressTemplate>
            <uc1:UC_AjaxLoading ID="UC_AjaxLoading1" runat="server" />
        </ProgressTemplate>
    </asp:UpdateProgress>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <BootStrap:Breadcrumb ID="BC_Path" runat="server"></BootStrap:Breadcrumb>
            <asp:GridView ID="GV_List" runat="server" AutoGenerateColumns="False" DataKeyNames="ID" GridLines="None" CssClass="table table-bordered table-condensed table-hover">
                <Columns>
                    <asp:TemplateField >
                    <HeaderTemplate><input type="checkbox" name="chkHeader" value="chkHeader" onclick="javascript:SelectAll(this);" /></HeaderTemplate>
                        <ItemTemplate>
                            <asp:CheckBox ID="CheckBox1" runat="server" />
                        </ItemTemplate>
                        <ItemStyle HorizontalAlign="Center" Width="30px" />
                    </asp:TemplateField>
                    <asp:BoundField DataField="UserName" HeaderText="网名">
                        <ItemStyle Width="100px" CssClass="NR" />
                    </asp:BoundField>
                    <asp:BoundField DataField="Content" HeaderText="评论内容">
                        <ItemStyle CssClass="NR"></ItemStyle>
                    </asp:BoundField>
                    <asp:BoundField DataField="CreateTime" HeaderText="发表时间" DataFormatString="{0:yy-MM-dd}"
                        HtmlEncode="False">
                        <ItemStyle Width="60px" HorizontalAlign="Center" />
                    </asp:BoundField>
                    <asp:BoundField DataField="Score" HeaderText="得分">
                        <ItemStyle HorizontalAlign="Center" Width="40px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="IP" HeaderText="IP">
                        <ItemStyle Width="60px" />
                    </asp:BoundField>
                </Columns>
                <HeaderStyle CssClass="HeaderStyle" />
            </asp:GridView>
            <div style="width:100%" class=" form-inline"> <BootStrap:Button ID="btnDelete" runat="server" Text="删除选定" ToDo="ClickOnce"
                            OnClick="btnDelete_Click" Exterior="danger" />
                <BootStrap:Button ID="btnPass" runat="server" Cssclass="btn btn-default" Text="审核选定" ToDo="ClickOnce"
                            OnClick="btnPass_Click" />&nbsp; |&nbsp; ＩＰ：<asp:TextBox ID="txtIP" runat="server"></asp:TextBox>
                        <BootStrap:Button ID="btnDeleteIP" runat="server" Text="删除" ToDo="ClickOnce"
                            OnClick="btnDeleteIP_Click" Exterior="danger" /></div>
        
         
                <WinnerCMS:PageNavigation ID="PageNavigation1" runat="server" 
                    OnPageChanging="PageNavigation1_PageChanging" SubmitButtonclass="btn btn-default">
                </WinnerCMS:PageNavigation>
 
        </ContentTemplate>
    </asp:UpdatePanel>
    </form>
</body>
</html>
